home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!cvget.demon.co.uk
- From: Guy Tanner <bgt@cvget.demon.co.uk>
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Tools Manager and Memory
- Date: Tue, 9 Jan 96 00:37:05 GMT
- Organization: the nearest Pub
- Message-ID: <9601090037.AA007ci@cvget.demon.co.uk>
- References: <861.6581T612T2111@genie.geis.com>
- X-NNTP-Posting-Host: cvget.demon.co.uk
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
- X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!cvget.demon.co.uk
-
- Steven Folberg (s.folberg@genie.geis.com) wrote:
- :
- : Another question: Can you get a TM dock button assigned to a CLI program to
- : open a shell window (I'm running WB 3.0)?
- :
-
- Yes you can, I've been doing with several CLI commands.
-
- Here are the steps.
-
- 1) Create a script that calls the command you want with any keywords.
-
- For Example I use the following to to unbatch my NewsDownloads if the connect
- is broken.
-
- ;ver$ 1.0 UnBatchNewsNTTP Script
- ; For use with standard NTTP NewsBatch Files
-
- FailAT 35
-
-
- echo "UnBatching News"
- AmiTCP:bin/rnews uuspool:NewsBatch
-
- echo "Delete BatchFile"
- wait 1
- c:delete uuspool:NewsBatch QUIET
-
- Endcli
-
- 2) Save your script in a directory of your choice.
-
- 3) Change the Icon Type of the script to a Project. You can use the Icon Editor
- that comes with the WorkBench to do this.
-
- 4) Select the Script with one click, and then bring up its Information Window by
- using "Right Amiga + I"
-
- 5) In the Default Tool: box, enter C:IconX
-
- 6) Select New (bottom left) and then enter in the window right of the button
-
- WINDOW=con:88/79/285/147/Script_is_running
-
- 7) Now setup the Script with Tools Manager as if it was just a standard program.
- You will have the script run in its own shell.
-
- Good Luck, any problems, drop me a line.
-
- Cheers Guy.
-